﻿@{
    ViewBag.Title = "ViewLand";
    Layout = "~/Views/Shared/_Layout_UserSite.cshtml";
}

@{
    Cus_LandModel item = ViewBag.PrLand != null ? (Cus_LandModel)ViewBag.PrLand : new Cus_LandModel();

    var imgUrl = "../../Content/Image/admin/noImage.png";
    if (item.LandImage != null)
    {
        imgUrl = "../Uploads/" + item.LandImage;
    }
    }

<div class="Clearfix">
        <table class="tbLand_Us" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                 <td class="img" rowspan="3">
                        <img src="@imgUrl" class="imgAvatar" />
                    </td>
                <th class="title" colspan="6">
                    @Html.Hidden("oder", item.Code)                    
                    @item.LandName
                </th>
            </tr>
            <tr>
               
                <th>Loai:</th>
                <td>@item.LandBDSType</td>
                <th>Giá :</th>
                <td>@item.LandPrice</td>
                <th>Diện Tích: </th>
                <td>@item.LandSquare</td>
                
            </tr>
            <tr>
                
                <th>Nội that</th>
                <td>@item.Furniture</td>
                <th>Số Tầng:</th>
                <td>@item.Floor</td>
                <th>Ngày đăng:</th>
                <td>@String.Format("{0:d/MM/yyyy HH:mm}", item.CreateDate)</td>
                
            </tr>
            
    </table>
    <div>
        @Html.Raw(item.Description)
    </div>
</div>
